import React from 'react'
import { SwiperCart, SwiperIndex, HootFloor, ScrolltopIndex, SingleImg, VideoIndex } from '@/utils/components'
function ContentSwiper({ item }) {
    return (
        <div>
            <SwiperCart item={item}>
                {item.type == 'swiper' && <SwiperIndex ImageList={item.ImageList}></SwiperIndex>}
                {item.type == 'scroll' && <ScrolltopIndex ImageList={item.ImageList}></ScrolltopIndex>}
                {item.type == 'single' && <SingleImg ImageList={item.ImageList}></SingleImg>}
                {item.type == 'video' && <VideoIndex ImageList={item.ImageList}></VideoIndex>}
            </SwiperCart>
        </div>
    )
}

export default ContentSwiper
